package encoder

import (
	"github.com/bluenviron/gortsplib/v4/pkg/format/rtpmpeg4audio"
	"github.com/pion/rtp"
)

type AACEncoder2 struct {
	rtpmpeg4audio.Encoder
}

func (e *AACEncoder2) Init() error {
	return e.Encoder.Init()
}

func (e *AACEncoder2) Encode(aus [][]byte) ([]*rtp.Packet, error) {
	return e.Encoder.Encode(aus)
}
